package com.mall.service;

import com.mall.entity.Orderproduct;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.entity.Orderreturn;
import com.mall.entity.Product;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author fire
 * @since 2020-04-16
 */
public interface OrderproductService extends IService<Orderproduct> {

    int addOrderproduct(int orderId, List<Product> products);

    List<Orderproduct> getEvaluates(int orderId, int type);
}
